package com.petcare;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class caretips extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.activity_caretips);
	    
	    TextView link1 = (TextView) findViewById(R.id.textView2);
	    TextView link2 = (TextView) findViewById(R.id.textView3);
	    TextView link3 = (TextView) findViewById(R.id.textView4);
	    
	    link1.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                Intent in=new Intent(Intent.ACTION_VIEW,Uri.parse("http://www.amigosdelosanimales.org.gt/"));
                startActivity(in);
            }

        });
	    
	    link2.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                Intent in=new Intent(Intent.ACTION_VIEW,Uri.parse("http://pets.webmd.com/"));
                startActivity(in);
            }

        });
	    
	    link3.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                Intent in=new Intent(Intent.ACTION_VIEW,Uri.parse("http://www.foundanimals.org/"));
                startActivity(in);
            }

        });
	    
	    
	 
	
	    // TODO Auto-generated method stub
	}
	
	@Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }

}
